﻿:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #CECFD2;
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #CECFD2;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: #CECFD2;
    opacity: 1;
}

input::-webkit-input-placeholder {
    color: #CECFD2;
    opacity: 1;
}


/* 去除谷歌自带文本框背景 死活无力！ */

input:-webkit-autofill {
    background: none !important;
}

html,
body {
    overflow: hidden;
    padding: 0;
    margin: 0;
    height: 100%;
    font-size: 16px;
    font-family: 'Microsoft Yahei';
    background-repeat: no-repeat;
    background-color: #242645;
    color: #fff;
    background-size: cover;
    background-position: top center;
    background-image: url(../images/starry.jpg);
}

.login {
    position: relative;
    width: 260px;
    height: 300px;
    /* border-top: 2px solid #61BFFF; */
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    padding: 100px 40px 40px 40px;
    background: #35394a;
    box-shadow: -15px 15px 15px rgba(6, 17, 47, 0.7);
    opacity: 1;
    -webkit-transition-timing-function: cubic-bezier(0.68, -0.25, 0.265, 0.85);
    -webkit-transition-property: -webkit-transform, opacity, box-shadow, top, left;
    transition-property: transform, opacity, box-shadow, top, left;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transform-origin: 161px 100%;
    -ms-transform-origin: 161px 100%;
    transform-origin: 161px 100%;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    /* Old browsers */
    /* FF3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #35394a), color-stop(100%, rgb(0, 0, 0)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(230deg, rgba(53, 57, 74, 0) 0%, rgb(0, 0, 0) 100%);
    /* Chrome10+,Safari5.1+ */
    /* Opera 11.10+ */
    /* IE10+ */
    background: linear-gradient(230deg, rgba(53, 57, 74, 0) 0%, rgb(0, 0, 0) 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='rgba(53, 57, 74, 0)', endColorstr='rgb(0, 0, 0)', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    overflow: hidden;
}

.login .validation {
    position: absolute;
    z-index: 1;
    right: 10px;
    top: 6px;
    opacity: 0;
}

.login .disclaimer {
    position: absolute;
    bottom: 20px;
    left: 35px;
    width: 250px;
    font-size: 12px;
    opacity: .2;
    font-weight: 100;
}

.login .rlogo {
    position: absolute;
    top: -100px;
    right: -120px;
    width: 500px;
    opacity: .2;
    display: none;
}

.login_title {
    color: #ebeeff;
    height: 80px;
    text-align: left;
    font-size: 20px;
    font-weight: 400;
}

.login_fields {
    position: absolute;
    left: 0;
    width: 100%;
}

.login_fields .icon {
    position: absolute;
    z-index: 1;
    left: 36px;
    top: 8px;
    opacity: .5;
}

.login_fields input[type='password'],
.login_fields input[type='text'] {
    color: #61BFFF !important;
}

.login_fields input[type='text'],
.login_fields input[type='password'] {
    color: #afb1be;
    width: 160px;
    margin: 0 65px;
    padding: 10px;
    margin-top: -2px;
    background: rgba(57, 61, 82, 0) !important;
    left: 0;
    top: 0;
    border-top: 2px solid rgba(57, 61, 82, 0);
    border-bottom: 2px solid rgba(57, 61, 82, 0);
    border-right: none;
    border-left: none;
    outline: none;
    font-family: 'Gudea', sans-serif;
    box-shadow: none;
    font-size: 14px;
}

.login_fields__user,
.login_fields__password {
    position: relative;
    width: 100%;
    height: 50px;
}

.login_fields__submit {
    position: relative;
    top: 30px;
    left: 0;
    width: 80%;
    right: 0;
    margin: auto;
}

.login_fields__submit .forgot {
    float: right;
    font-size: 10px;
    margin-top: 11px;
    text-decoration: underline;
}

.login_fields__submit .forgot a {
    color: #606479;
    font-size: 14px;
}

.login_fields__submit a {
    display: inline-block;
    border-radius: 50px;
    background: transparent;
    padding: 8px 14%;
    font-size: 13px;
    border: 2px solid #4FA1D9;
    color: #4FA1D9;
    text-transform: uppercase;
    -webkit-transition-property: background, color;
    transition-property: background, color;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
}

.login_fields__submit a:focus {
    box-shadow: none;
    outline: none;
}

.login_fields__submit a:hover {
    color: white;
    background: #4FA1D9;
    cursor: pointer;
    -webkit-transition-property: background, color;
    transition-property: background, color;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
}

@media (min-width: 1441px) {
    .login {
        width: 620px;
    }
    .login .rlogo {
        display: block;
    }
    .login_fields {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .login_title,
    .login .disclaimer {
        text-align: center;
    }
    .login_fields__submit a {
        width: 72%;
        text-align: center;
    }
}